<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <title>员工管理</title>
    <jsp:include page="/static/common/easyui-header.jsp"></jsp:include>
    <link rel="stylesheet" type="text/css" href="/static/plugins/fancyBox/jquery.fancybox.css">
    <script type="text/javascript" src="/static/js/views/employee.js"></script>
    <script type="text/javascript" src="/static/plugins/fancyBox/jquery.fancybox.pack.js"></script>

    <script type="text/javascript">
        $(function () {
            $(".easyui-textbox").fancybox();
        });
    </script>
</head>
<body>
<input id="employee_datagird">
<div id="employee_datagrid_toolbar">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="addEmp">添加</a>

    <a class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="editEmp">编辑</a>


    <a class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" data-cmd="removeEmp">离职</a>

    <a class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reloadEmp">刷新</a>

    <a class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="export">导出</a>

    <span>关键字 : </span>
    <input class="easyui-textbox" id="keyword">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" data-cmd="search">查询</a>
</div>




<div id="employee_dialog" style="padding:10px">
    <form id="employee_add_form" class="easyui-form" method="post">
        <input type="hidden" name="id" id="employee_id"/>
        <table>
            <tr>
                <td>用户名</td>
                <td><input class="easyui-textbox" name="username"/></td>
            </tr>
            <tr>
                <td>姓&emsp;名</td>
                <td><input class="easyui-textbox" name="realName"/></td>
            </tr>
            <tr>
                <td>电&emsp;话</td>
                <td><input class="easyui-textbox" name="tel"/></td>
            </tr>
            <tr>
                <td>邮&emsp;箱</td>
                <td><input class="easyui-textbox" name="email"/></td>
            </tr>

            <tr>
                <td>部&emsp;门</td>
                <td><input id="dept" class="easyui-combobox" name="dept.id"
                           data-options="valueField:'id',textField:'name',url:'/dept/listAll'"/></td>
            </tr>
            <tr>
                <td>角&emsp;色</td>
                <td><input id="role" class="easyui-combobox"
                           data-options="valueField:'id',textField:'name',url:'/role/listAll',multiple:true"/></td>
            </tr>
        </table>
    </form>
</div>


<div id="employee_dialog_buttons">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-ok',plain:true" data-cmd="save">确定</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancel">取消</a>
</div>





<div id="image_dialog" style="padding:10px; width: 500px;height: 500px">

    <img src="" id="bigImage" style="width: 100%;height: 100%">

</div>
</body>
</html>





